//
//  HelloWorldLayer.h
//  Memory Mania
//
//  Created by Sanket Karkhanis on 2/14/12.
//  Copyright University of Southern California 2012. All rights reserved.
//


// When you import this file, you import all the cocos2d classes
#import "cocos2d.h"
#import "GlobalData.h"
@class ModeSelect;

// HelloWorldLayer
@interface HelloWorldLayer : CCLayer
{   
    CCSprite *cards[20];
    CCSprite *cover[20];
    //CCSprite *tick;
    //CCSprite *cross;
    //CCSprite *msg;
    //CCSprite *exc;
    int click_count, selectedcard1,selectedcard2,size;
    
    CCLabelBMFont *scoreLabel1;  
    CCLabelBMFont *scoreLabel2;
    CCLabelTTF *timeLabel;
	ccTime totalTime;
	int myTime; //this is your incremented time.
	int currentTime;
    
    //Game Over Condition
    int totalMatched;

    
    CCMenu *Menu;
    
    int rows,cols;
   
    

@public
    CGPoint posOnScreen20[20];
    CGPoint posOnScreen16[16];
    CGPoint posOnScreen12[12];
    bool numbersGenerated[20]; //Array of positions/index in CGPoint array already used/generated!
    // CCSprite *white;
    
   //int random[10];
}

// returns a CCScene that contains the HelloWorldLayer as the only child
+(CCScene *) scene;
-(CGPoint) putCard:(int)size;

@end
